const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  pages: {
    index: {
      entry: 'src/main.js',
    }
  },
  transpileDependencies: true,
  splitChunks: {
    cacheGroups: {
      vendor: {
        name: 'chunk-vendors',
      }
    }
  },
  devServer: {
    
    proxy: {
      '/api': {
        target: 'http://localhost:8080',
      }
    }
  }
})
